<?php

use yii\db\Migration;

class m170720_062038_alert_isuser_info extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%isuser_info}}','username','varchar(50) not null default " " comment \'用户名\'');
        $this->addColumn('{{%isuser_info}}','password','char(60) not null default " " comment \'密码\'');
    }

    public function safeDown()
    {
        $this->dropColumn('{{%isuser_info}}','username');
        $this->dropColumn('{{%isuser_info}}','password');
    }
}
